<html><head><title>VectorSourceGradientColor</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">VectorSourceGradientColor()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#3A3966"><b>VectorSourceGradientColor</b></font>(Color, Position.d)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Add a new color stop (a defined color position) to the gradient defined by 
<a href="vectorsourcelineargradient.html">VectorSourceLinearGradient()</a> or <a href="vectorsourcecirculargradient.html">VectorSourceCircularGradient()</a>. 
<br>
<br>
A gradient must at least have a color at position 0.0 and 1.0. If no colors are 
added for these positions then they default to solid black. Any number of color 
positions can be added to a gradient. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>Color</i></td>
<td width="90%"> 
The 32bit <a href="../2ddrawing/rgba.html">RGBA</a> color including alpha transparency. 

</td></tr>
<tr><td><i>Position.d</i></td>
<td> 
The position at which to add the color. The value must be between and including 
0.0 (the gradient start) and 1.0 (the gradient end). 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>
None.


</blockquote><p><b>Example</b></p><blockquote>

See <a href="vectorsourcelineargradient.html">VectorSourceLinearGradient()</a> for an example. 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="vectorsourcelineargradient.html">VectorSourceLinearGradient()</a>, <a href="vectorsourcecirculargradient.html">VectorSourceCircularGradient()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=vectorsourcecolor.html>VectorSourceColor()</a> - <a href="index.html">VectorDrawing Index</a> - <a href="vectorsourceimage.html">VectorSourceImage()</a> -><br><br>


</body></html>